package Work4.Slay_the_Maze.Potions;

import java.util.Random;

import Work4.Slay_the_Maze.Relics.Barbell;
import Work4.Slay_the_Maze.Relics.Cookie;
import Work4.Slay_the_Maze.Relics.LittleStone;

import java.util.ArrayList;

public class PotionsPool {
	private ArrayList<Potions> potionsspool = new ArrayList<Potions>();
	public PotionsPool(){
		potionsspool.add(new Armorpotion());
		potionsspool.add(new HPpotion());
		potionsspool.add(new Manapotion());
		//cardspool.add(new Shop());
		//cardspool.add(new TreasureEvent());
	}
	
	public void AddPotion(Potions potion) {
		potionsspool.add(potion);
	}
	public Potions RandomgetPotion() {
		Random rd=new Random();
		return potionsspool.get(rd.nextInt(potionsspool.size()));
	}
	public ArrayList<Potions> getPotionsspool() {
		return potionsspool;
	}
	public void setPotionsspool(ArrayList<Potions> potionsspool) {
		this.potionsspool = potionsspool;
	}
}
